namespace Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class Roles
    {
        public Roles()
        {
            Logins = new HashSet<Logins>();
            Role_Power_Group = new HashSet<Role_Power_Group>();
            UserInfo = new HashSet<UserInfo>();
        }

        [Key]
        public int RoleId { get; set; }

        [StringLength(10)]
        public string RoleName { get; set; }

        public virtual ICollection<Logins> Logins { get; set; }

        public virtual ICollection<Role_Power_Group> Role_Power_Group { get; set; }

        public virtual ICollection<UserInfo> UserInfo { get; set; }
    }
}
